Skip to main content

Approve Certificate

POST 

https://public.api.mentaport.xyz/prod/v1/certificates/approve

Method to call once you have a Pending Certificate. This is the last step to successfully create your certificate. Review the information to ensure it is accurate before it's written in the decentralized ledger.

Request

Query Parameters

    projectId stringrequired
    Example: 96b82a9a-585d-4628-9e61-d5fe0b9317dd
    certId stringrequired
    Example: 0x4b0b29b850d54871a45f291422fdd890
    approved booleanrequired
    Example: true

Header Parameters

    x-api-key string
    Example: {{_apiKeyDev}}

Responses

Successful response

Schema

    Authorization: http

    name: apikeyAuthtype: httpin: 
    import http.client

    conn = http.client.HTTPSConnection("public.api.mentaport.xyz")
    payload = ''
    headers = {
    'Accept': 'application/json'
    }
    conn.request("POST", "/prod/v1/certificates/approve", payload, headers)
    res = conn.getresponse()
    data = res.read()
    print(data.decode("utf-8"))
    Request Collapse all
    Base URL
    https://public.api.mentaport.xyz/prod/v1
    Auth
    Parameters
    — queryrequired
    — queryrequired
    — queryrequired
    — header
    ResponseClear

    Click the Send API Request button above and see the response here!